home *** CD-ROM | disk | FTP | other *** search
/ Amiga Magazin: Amiga-CD 1996 September & October / Amiga-CD 1996 #9-10.iso / ausgabe_9_96 / kommunikation / voodoo / s / smtppost.bat < prev   
DOS Batch File  |  1996-03-07  |  682b  |  27 lines

  1.  
  2. ;------------------------Begin Send Mail-----------------------
  3.  
  4. List to t:SMTPPostBatTempFile $SMTPSPOOLDIR/#? LFormat="SMTPPost $SMTPSPOOLDIR/%N >NIL:"
  5.  
  6. Resident AMITCP:bin/SMTPPost PURE       ; not needed
  7.  
  8. Echo "*N Start mailing..."               
  9.  
  10. Execute t:SMTPPostBatTempFile
  11.  
  12. Echo "*N End of mailing..."           
  13.     
  14. Delete t:SMTPPostBatTempFile QUIET
  15.  
  16. Resident SMTPPost REMOVE
  17.  
  18. RequestChoice >ENV:RCNum "   Please advise me" "  Hey $USER, *N  Shall I delete all Files in SMTPSpoolDir ?" "Yes" "No"
  19. If Val $RCNum EQ 0
  20. Echo "*N*N Well, in this case keep ehm...*N"
  21.   quit
  22. Endif
  23.  
  24. Delete $SMTPSPOOLDIR/#?
  25.  
  26. ;-------------------------End Send Mail ----------------------------
  27.